package xyz.dava.file.impl.aliyun;

import org.springframework.web.multipart.MultipartFile;
import xyz.dava.file.FileClient;
import xyz.dava.file.model.VirtualFile;

import java.io.File;
import java.io.InputStream;

public class AliOssFileClient implements FileClient {
    @Override
    public VirtualFile uploadFile(MultipartFile file) {
        System.out.println("ali");
        return null;
    }

    @Override
    public VirtualFile uploadFile(File file) {
        System.out.println("ali");
        return null;
    }

    @Override
    public VirtualFile uploadFile(InputStream is, String key) {
        System.out.println("ali");
        return null;
    }

    @Override
    public boolean removeFile(String key) {
        System.out.println("ali");
        return false;
    }
}
